<?php $this->load->view('admin/adhead.html'); ?>

<?php $this->load->view('admin/adsider.html'); ?>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">

    <!-- Main content -->
    <section class="content">

      <div class="col-md-6">
          <!-- Horizontal Form -->
          <div class="box box-primary">
            <div class="box-header with-border">
              <h3 class="box-title">查找文章</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form class="form-horizontal" method="post" action="<?php echo site_url('article/getsearchart'); ?>">
              <div class="box-body">

				<div class="form-group">
                  <label for="inputword" class="col-sm-2 control-label">关键词</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="word" id="inputword" placeholder="关键词">
                  </div>
                </div>

				<div class="form-group">
                  <label for="inputcate" class="col-sm-2 control-label">分类</label>

                  <div class="col-sm-10">
                    <select class="form-control" name="cate" id="inputcate">
						<option value="0">--所有--</option>
						<?php foreach($cate as $cname):?>
							<option value="<?=$cname->id?>"><?=$cname->name?></option>
						<?php endforeach;?>
					  </select>
                  </div>
                </div>

				<div class="form-group">
                  <label for="inputeditor" class="col-sm-2 control-label">编辑</label>

                  <div class="col-sm-10">
                    <input type="text" class="form-control" name="editor" id="inputeditor" placeholder="编辑">
                  </div>
                </div>

              </div>
              <!-- /.box-body -->
              <div class="box-footer">
                <button type="reset" class="btn btn-default">重置</button>
                <button type="submit" class="btn btn-info pull-right">搜索</button>
              </div>
              <!-- /.box-footer -->
            </form>
          </div>
          <!-- /.box -->
 
        </div>

    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

<?php $this->load->view('admin/adfooter.html'); ?>